package com.house.framework.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.house.framework.annotations.ChangeTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class BaseEntity implements Serializable {


    @ApiModelProperty("分页页码")
    @TableField(exist = false)
    private Integer pageIndex;

    @ApiModelProperty("每页记录条数")
    @TableField(exist = false)
    private Integer pageSize;

    @ApiModelProperty("关键字")
    @TableField(exist = false)
    private String keyWords;

    @ApiModelProperty("操作")
    @TableField(exist = false)
    private ChangeTypeEnum optLogEnum;

    @ApiModelProperty("登录token")
    @TableField(exist = false)
    private String token;
}
